package com.salt.modules.log.service;

import com.salt.modules.log.domain.LoginLog;
import com.salt.modules.log.domain.OperationLog;
import com.salt.modules.log.model.query.RecordQuery;

import java.util.Map;

/**
 * @Description
 * @Author salt
 * @Date 2023/4/13
 * @Version 1.0.1
 */
public interface LogService {

    void save(OperationLog operationLog);

    void save(LoginLog loginLog);

    Map<String, Object> operationRecordPage(Integer pageNum, Integer pageSize, RecordQuery recordQuery);

    Map<String, Object> loginRecordPage(Integer pageNum, Integer pageSize, RecordQuery recordQuery);

}
